package wine.logic.entity;


import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Lob;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;


/**
 * The persistent class for the W_INFORMATION_PAGES database table.
 * 
 */
@Entity
@Table(name="W_INFORMATION_PAGES")
@IdClass(PageInfoIdAndIdxPk.class)
@NamedQueries({
	@NamedQuery(name="pageInfo",query=" from WInformationPage where ipageid=:ipageid and iinfoid=:iinfoid"),
	@NamedQuery(name="pageInfoList",query=" from WInformationPage where iinfoid=:iinfoid")
})
public class WInformationPage implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="IINFOID")
	private long iinfoid;

    @Lob()
	@Column(name="CINFO")
	private String cinfo;

	@Column(name="IPAGEID")
	private Long ipageid;

    public WInformationPage() {
    }

	public long getIinfoid() {
		return this.iinfoid;
	}

	public void setIinfoid(long iinfoid) {
		this.iinfoid = iinfoid;
	}

	public String getCinfo() {
		return this.cinfo;
	}

	public void setCinfo(String cinfo) {
		this.cinfo = cinfo;
	}

	public Long getIpageid() {
		return this.ipageid;
	}

	public void setIpageid(Long ipageid) {
		this.ipageid = ipageid;
	}

}